import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { Nyt7StatisticsClaimAreaRegionVO, Nyt7StatisticsClaimAreaRegionForm, Nyt7StatisticsClaimAreaRegionQuery } from '@/api/Nyt7StatisticsClaimAreaRegion/Nyt7StatisticsClaimAreaRegion/types';

/**
 * 查询统计分析_投保统计_数量统计_按地区的数量统计列表
 * @param query
 * @returns {*}
 */

export const listNyt7StatisticsClaimAreaRegion = (query?: Nyt7StatisticsClaimAreaRegionQuery): AxiosPromise<Nyt7StatisticsClaimAreaRegionVO[]> => {
  return request({
    url: '/Nyt7StatisticsClaimAreaRegion/Nyt7StatisticsClaimAreaRegion/list',
    method: 'get',
    params: query
  });
};

